package com.wx.gof.principle.openandclose;

/**
 * @ClassName StudentExtensionInfo
 * @Author wx
 * @Description 学员信息扩展子类
 * @Date 2018-12-02-16:27
 */
public class StudentExtensionInfo extends StudentInfo {
    private Integer height;
    private Integer weight;

    public StudentExtensionInfo(String name, Integer age, String address, Integer height, Integer weight) {
        super(name, age, address);
        this.height = height;
        this.weight = weight;
    }

    public Integer getHeight() {
        return height;
    }

    public Integer getWeight() {
        return weight;
    }
}
